<?php
/**
* @file IChatService.php
* Copyright (c) Friends Group. All rights reserved.
* $Id$
*
*/

interface IChatService 
{

	/**
	 * @ReturnType void
	 * @ParamType userId 
	 * @ParamType room 
	 * Tạo phòng
	 */
	public function createRoom($userId, $room);

	/**
	 * @ReturnType void
	 * @ParamType roomId 
	 * Xóa phòng
	 */
	public function deleteRoom($roomId);

	/**
	 * @ReturnType void
	 * @ParamType userId 
	 * @ParamType room 
	 * Thêm user vào phòng
	 */
	public function addUserToRoom($userId, $room);

	/**
	 * @ReturnType void
	 * @ParamType userId 
	 * @ParamType room 
	 * Remove user khỏi phòng
	 */
	public function removeUserFromRoom($userId, $room);
}
?>